package cn.kilo.trigger.api;

import cn.kilo.trigger.api.dto.weChatPay.PayDTO;
import cn.kilo.types.model.Response;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author kilok
 * 微信支付对应接口
 */
public interface IWeChatPayService {

    void callBack(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse);

    Response<?> H5Pay(PayDTO payDTO);

    Response<?> getPayInfo(Long orderId);

    Response<?> closeOrder(PayDTO payDTO);
}
